<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.List" %>
<%@ page import="cn.hs.blog.role.module.Urls" %>
<%@ page import="cn.hs.blog.common.ApplicationCommon"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="<%=ApplicationCommon.getCssServer()%>flexigrid\flexigrid.css"
			type="text/css" rel="stylesheet" />
	
		<script src="<%=ApplicationCommon.getJsServer()%>flexigrid.js"></script>
		<script src="<%=ApplicationCommon.getJsServer()%>jquery.js"></script>

		<title>海水黑板报 - 一半是海水的博客网志</title>
	</head>
<body id="body" bgcolor="#ffffff">
<table class="flexme1">
	<thead>
    		<tr>
            	<th width="100">id</th>
            	<th width="100">name</th>
            	<th width="100">url</th>
            	<th width="300">beable</th>
            </tr>
    </thead>
<%
	List<Urls> urls = (List<Urls>)request.getAttribute("list");
	if(urls == null || urls.size() < 1){
%>

	    <tbody>
    		<tr>
            	<td COLSPAN="4">This is data 1 with overflowing content</td>
            </tr>	
     	</tbody>
<%
	}else{
	    for(Urls url : urls){
%>
    <tbody>
    		<tr>
            	<td><%= url.getId() %></td>
            	<td><%= url.getName() %></td>
            	<td><%= url.getUrl() %></td>
            	<td><%= url.getBeable() %></td>
            </tr>	
     </tbody>
<%
	    }
	}
%>
</table>

<script type="text/javascript">
	$('.flexme1').flexigrid();
</script>
</body>
</html>

<%-- 
<script type="text/javascript">

	$('.flexme1').flexigrid();
</script>
--%>

